package com.kun.auth.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 认证中心配置
 * @author kun.li
 */
@Data
@ConfigurationProperties("introspection")
@Component
public class IntrospectionProperties {

    /**
     * 认证中心地址 http://192.168.56.1:9200/oauth2/introspect
     */
    private String uri;
    /**
     * 客户端ID messaging-client
     */
    private String clientId;
    /**
     * 客户端密钥 secret
     */
    private String clientSecret;
}
